<?php

namespace App\Repositories;

use App\Models\Regsettings;

/**]
 * Date: 28/04/2018
 * @author George
 * @package App\Repositories
 */
class RegsettingsRepository extends BaseRepository
{
    public function model()
    {
        return Regsettings::class;
    }
     /**
     * Date: 2018/4/20
     * @author Tenny
     * @param $company_id
     * @return \Illuminate\Database\Eloquent\Collection|static[]
     */
    public function getRegSettings($company_id = false)
    {
        $regsettings = $this->where('company_id',$company_id)->get();
        return $regsettings;
    }

    protected function serialization(array $attributes)
    {
        // TODO: Implement serialization() method.
    }
}
